package JDBC_Test.Fruit.Model;

import java.math.BigDecimal;

/**
 * 
 * @author dell
 *水果实体类
 */
public class FruitModel {
	 private String fruitName;
	 private BigDecimal inPrice;//进价
	 private BigDecimal outPrice;//售价
	 private int stock;//库存
	public FruitModel() {
		super();
	}
	public String getFruitName() {
		return fruitName;
	}
	public void setFruitName(String fruitName) {
		this.fruitName = fruitName;
	}
	public BigDecimal getInPrice() {
		return inPrice;
	}
	public void setInPrice(BigDecimal inPrice) {
		this.inPrice = inPrice;
	}
	public BigDecimal getOutPrice() {
		return outPrice;
	}
	public void setOutPrice(BigDecimal outPrice) {
		this.outPrice = outPrice;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public FruitModel(String fruitName, BigDecimal inPrice, BigDecimal outPrice, int stock) {
		super();
		this.fruitName = fruitName;
		this.inPrice = inPrice;
		this.outPrice = outPrice;
		this.stock = stock;
	}
//	public FruitModel(String name, Object inPrice2, Object outPrice2, int amount) {
//		// TODO Auto-generated constructor stub
//	}
	public FruitModel(String fruitName) {
		super();
		this.fruitName = fruitName;
	}
	public FruitModel(String fruitName, int stock) {
		super();
		this.fruitName = fruitName;
		this.stock = stock;
	}
	
	 
	 
	 
	 
	 
}
